package com.arpa.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.arpa.ntocc.common.common.util.excel.StringConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value="OmsSaleExcelDTO对象", description="OMS销售单导入")
public class OmsSaleExcelVO implements Serializable {
    private static final long serialVersionUID = 8551199739842095384L;

    @ApiModelProperty(value = "来源单号")
    @ExcelProperty(converter = StringConverter.class)
    private String sourceCode;

    @ApiModelProperty(value = "商品编码")
    @ExcelProperty(converter = StringConverter.class)
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    @ExcelProperty(converter = StringConverter.class)
    private String goodName;

    @ApiModelProperty(value = "商品条码")
    @ExcelProperty(converter = StringConverter.class)
    private String barCode;

    @ApiModelProperty(value = "货主编码")
    @ExcelProperty(converter = StringConverter.class)
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    @ExcelProperty(converter = StringConverter.class)
    private String shipmentName;

    @ApiModelProperty(value = "仓库编码")
    @ExcelProperty(converter = StringConverter.class)
    private String serialNumber;

    @ApiModelProperty(value = "仓库名称")
    @ExcelProperty(converter = StringConverter.class)
    private String warehouseName;

    @ApiModelProperty(value = "客户名称")
    @ExcelProperty(converter = StringConverter.class)
    private String customerName;

    @ApiModelProperty(value = "店铺编码")
    @ExcelProperty(converter = StringConverter.class)
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    @ExcelProperty(converter = StringConverter.class)
    private String shopName;

    @ApiModelProperty(value = "买家姓名")
    @ExcelProperty(converter = StringConverter.class)
    private String buyerName;

    @ApiModelProperty(value = "买家电话")
    @ExcelProperty(converter = StringConverter.class)
    private String buyerMobile;

    @ApiModelProperty(value = "省")
    @ExcelProperty(converter = StringConverter.class)
    private String provinceName;

    @ApiModelProperty(value = "市")
    @ExcelProperty(converter = StringConverter.class)
    private String cityName;

    @ApiModelProperty(value = "区县")
    @ExcelProperty(converter = StringConverter.class)
    private String countyName;

    @ApiModelProperty(value = "买家地址")
    @ExcelProperty(converter = StringConverter.class)
    private String buyAddress;

    @ApiModelProperty(value = "快递名称")
    @ExcelProperty(converter = StringConverter.class)
    private String carrierName;

    @ApiModelProperty(value = "基本单位",required = true)
    @ExcelProperty(converter = StringConverter.class)
    private String saleUnitName;

    @ApiModelProperty(value = "销售价格")
    @ExcelProperty(converter = StringConverter.class)
    private String deliveryPriceStr;

    @ApiModelProperty(value = "数量")
    @ExcelProperty(converter = StringConverter.class)
    private String planBasicQuantityStr;

    @ApiModelProperty(value = "订单数量")
    @ExcelIgnore
    private BigDecimal planBasicQuantity;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(converter = StringConverter.class)
    private String remarks;

    @ApiModelProperty(value = "导入标识")
    private String importCode;

}
